using System;

class MathExpression
{
    static void Main(string[] args)
    {
		int n = int.Parse(Console.ReadLine());
		for(int row = n; row>=1; row--)
		{
			for(int column = 1; column<=n; column++)
			{
				if(column+row == n + 1)
				{
					Console.Write('*');
				}
				else
				{
					Console.Write('.');
				}
			}
			Console.WriteLine();
		}
		for(int row = 2; row<=n; row++)
		{
			for(int column = 1; column<=n; column++)
			{
				if(column+row == n + 1)
				{
					Console.Write('*');
				}
				else
				{
					Console.Write('.');
				}
			}
			Console.WriteLine();
		}
	}
}